<script setup>

</script>
<template>
	<view class="">
		<layout>

			<!-- 	<view class="box1">
				box1
			</view>
			<view class="box2">
				box2
			</view>
			<view class="box3">
				box3
			</view> -->

			<template #header>
				头部
			</template>
			<template #main>
				中间
			</template>
		</layout>
	</view>
</template>
<style lang="scss" scoped>
	.box1 {
		width: 100px;
		height: 100px;
		background-color: lawngreen;
	}

	.box2 {
		width: 150px;
		height: 150px;
		background-color: gold;
	}

	.box3 {
		width: 200px;
		height: 200px;
		background-color: aqua;
	}
</style>